package cn.tedu.spring.scope;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

/**
 * Scope注解:作用域注解;
 *  1.singleton: 单实例模式(默认模式)
 *  2.prototype: 多实例模式
 */
@Scope("prototype")
@Component
public class Orders {
}
